﻿// (c) Copyright 2013 Mike Riedel.
// This source is subject to the Microsoft Public License (Ms-PL).
// All other rights reserved.

using FreshMeat.Storage;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Storage.More.Test
{
   [TestClass]
   public class MemoryRepositoryTest : CommonRepositoryTest
   {
      protected override IRepository<int, Item> CreateRepository()
      {
         var repo = new MemoryRepository<int, Item>(item => item.Id, new JsonSerializer<Item>());

         return repo;
      }
   }
}